/**
 * 
 */
package trigger;

/**
 * @author Philip
 *
 */
public abstract class TriggerFlagger implements Trigger {
	protected Trigger flaggedTrigger;

	public TriggerFlagger(Trigger flaggedTrigger) {
		this.flaggedTrigger = flaggedTrigger;
	}
	
	@Override
	public String trigger() {
		return flaggedTrigger.trigger();
	}

	@Override
	public String response() {
		return flaggedTrigger.response();
	}
	
	@Override
	public String response(int i) {
		return flaggedTrigger.response(i);
	}
	@Override
	public int rank() {
		return flaggedTrigger.rank();
	}
	
	public int linesInResponse() {
		return flaggedTrigger.linesInResponse();
	}
	
	@Override
	public boolean triggers(String message) {
		return flaggedTrigger.triggers(message);
	}

	@Override
	public void updateVariables(String nickName, String sender, String receiver, String senderHostname, String input) {
		flaggedTrigger.updateVariables(nickName, sender, receiver, senderHostname, input);
	}
}
